<template>
  <div class="top-tit">
    <h2 class="wrapper">{{ title }}</h2>
  </div>
</template>

<script lang="ts">
import { Options, Vue } from 'vue-class-component';

@Options({
  props: {
    title: String
  },
})
export default class AnswerTopTitle extends Vue {

}
</script>

<style scoped lang="scss">
.top-tit {
  height: 60px;
  line-height: 60px;
  background: $bg-color;
  h2 {
    text-align: center;
    @include ellipse();
    font-size: 20px;
    color: $text-black;
  }
}
</style>
